<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>浙铁投诉</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="css/style.css">

</head>

<body>
<style>
    .icon-xingxing{
        color: #cccccc;;
    }
    .xingxing {
        color: #ffa800;
    }

</style>
<div class="wrapper">
    <div class="header header2 text-center">
        <a href="javascript:history.go(-1);" class="iconfont icon-zuo left"></a>
        <div class="font-16">详情</div>
    </div>
    <div class="content padding-12">
        <div class="list">
            <div>
                <span class="gray ">口味：</span>
                <span class="star">
                    <span class="iconfont icon-xingxing <if condition='$comment.taste_score egt 1' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.taste_score egt 2' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.taste_score egt 3' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.taste_score egt 4' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.taste_score egt 5' >xingxing </if> "></span>
                </span>
            </div>
            <div>
                <span class="gray ">服务：</span>
                <span class="star">
                    <span class="iconfont icon-xingxing <if condition='$comment.service_score egt 1' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.service_score egt 2' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.service_score egt 3' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.service_score egt 4' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.service_score egt 5' >xingxing </if> "></span>
                </span>
            </div>
            <div>
                <span class="gray ">环境：</span>
                <span class="star">
                    <span class="iconfont icon-xingxing <if condition='$comment.environment_score egt 1' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.environment_score egt 2' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.environment_score egt 3' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.environment_score egt 4' >xingxing </if> "></span>
                    <span class="iconfont icon-xingxing <if condition='$comment.environment_score egt 5' >xingxing </if> "></span>
                </span>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="list padding-10">
            <span class="iconfont icon-tousu1 green margin-r8"></span>
            评价内容
        </div>
        <div class="list padding-10">
            <p class="gray">{BEESCRM:$comment.content}</p>
            <if condition="$comment['img_url'] neq '' ">
            <div class="particulars-img">
                <a href="javascript:;" ><img id='img' src="{BEESCRM:$comment.img_url}" alt=""></a>
            </div>
            </if>
        </div>
    </div>
    <if condition="$reply['content'] neq '' ">
    <div class="content">
        <div class="list padding-10">
            <span class="iconfont icon-huifu green margin-r8"></span>
            管理员回复
        </div>
        <div class="padding-12">
            <div class="list gray flex-1">
                <div class="margin-r8">
                    <span class="iconfont icon-huifu font-12"></span>
                </div>
                <div>
                    <p><span class="font-12">{BEESCRM:$reply['create_time']|date="Y-m-d H:i:s",### }</span></p>

                    <p>{BEESCRM:$reply['content']}</p>
                </div>
            </div>
        </div>
    </div>
    </if>
</div>
<include file="Common:load"/>
</body>
<script src="/assets/complaint/js/jquery-2.1.0.min.js"></script>
<script>
    $('#img').click(function(){
        //$(this).toggleClass('min');
        //$(this).toggleClass('max');
        if (!$(this).hasClass('max')){
            $(this).css('width','100%');
            $(this).css('height','auto');
            $(this).addClass('max');
        }else{
            $(this).css('width','100px');
            $(this).css('height','100px');
            $(this).removeClass('max');
        }
    });
</script>
</html>